<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--

Copyright (c) 2006, Sun Microsystems, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the Sun Microsystems, Inc. nor the names of its
      contributors may be used to endorse or promote products derived from
      this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

-->
<head>
	<link href="/styles.css" media="screen" rel="stylesheet" type="text/css" /> 
 <title>JavaCC Documentation Index</title>
<!-- Changed by: Michael Van De Vanter, 14-Jan-2003 -->
</head>
<body bgcolor="#FFFFFF" >

<h1>JavaCC [tm]: Documentation Index</h1>
<p>
By following the links from this page you should be able to obtain all
necessary documentation on JavaCC [tm].
</p>
<p>
If you have further questions, please do not hesitate to
<a href="mailinglist.html">contact us</a>.
We recommend the following step-by-step process to learning JavaCC:
</p>
<ul>
<li>
Go through the simple examples that are available as part of the Java Compiler
Compiler [tm] release.  This is located under the <code>examples</code> directory in a
directory called <code>SimpleExamples</code>.  Read the file
<a href="simpleREADME.html"><code>README</code></a>
in this directory for complete instructions.
</li>
<li>
Go through the tree building examples (that use JJTree) that are also available
as part of the JavaCC release.  This is located under the <code>examples</code> directory in a
directory called <code>JJTreeExamples</code>.  Read the file
<a href="jjtreeREADME.html"><code>README</code></a>
in this directory for complete instructions.
</li>
<li>
Study the description of
<a href="javaccgrm.html">the JavaCC grammar file</a>.
This provides the complete syntax of the grammar file along with a detailed
description of these constructs.  There are also many examples in the <a href="http://javacc.dev.java.net/servlets/ProjectDocumentList?folderID=110">grammar repository</a>.
</li>
<li>
<a href="commandline.html">Click here</a> to see the document that describes the
command line input syntax.
</li>
<li>
The <a href="apiroutines.html">JavaCC API routines</a> are a bunch of classes,
methods, and variables which may be accessed from user code (typically from
<a href="javaccgrm.html#prod22">actions - the <EM>java_block</EM> in the syntax</a>).
</li>
<li>
<a href="JJTree.html">Click here</a> to get to the JJTree documentation.
</li>
<li>
<a href="JJDoc.html">Click here</a> to get to the JJDoc documentation.
</li>
<li>
Detailed JavaCC documentation is organized as a set
of <em>minitutorials</em>, each on a separate topic.  The following
minitutorials are currently available:
<ul>
<li>
<a href="lookahead.html">Lookahead MiniTutorial</a>:
This is a complete guide to how lookahead processing is performed and provides
tips on how to insert local lookahead specifications.
</li>
<li>
<a href="tokenmanager.html">com.learn.javacc.cust.Token Manager MiniTutorial</a>:
This is a description to how the token manager works.
</li>
<li>
<a href="errorrecovery.html">Customizing Error Messages and Recovering From Errors</a>:
This document describes how you can customize error messages and also recover
from errors during parsing.
</li>
<li>
<a href="CharStream.html">Using the Default Character Stream Readers</a>:
This document describes the various ways in which you can use the default
character stream reader classes that are generated by JavaCC.
</li>
</ul>
</li>
</ul>

</body>
</html>
